package com.candicom.race.rings;

public class RingFactory {

    public static AbstractRing createARing(RingType _type) {

        AbstractRing retVal = null;
        try {
            if (_type == RingType.ISTANBUL) {
                retVal = new Istanbul();
            }

        } catch (Exception ex) {
            ex.printStackTrace();
        }
        return retVal;
    }
}
